package com.example.mapper;

import com.example.pojo.Department;

import java.util.List;

/**
 * @author ：伍绍恒
 * @date ：Created in 2022/12/12 14:50
 * @description：
 * @modified By：
 */
public interface DepartmentMapper {
    List<Department> getAllDepartment();

    int deleteDepartmentById(String id);

    int addDepartment(Department department);

    int updateDepartmentById(Department department);

    int batchInsert(List<Department> departmentsList);
}
